package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.supervision.dto.IdentityUniqueCheckDTO;
import com.engine4cloud.tdf.supervision.dto.MobileUniqueCheckDTO;
import com.engine4cloud.tdf.supervision.dto.create.GzryOtherCreateDTO;
import com.engine4cloud.tdf.supervision.dto.query.GzryOtherQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.GzryOtherResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.GzryOtherUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.GzryOtherEntity;

public interface GzryOtherService extends IService<GzryOtherEntity> {

    PageInfo<GzryOtherResultDTO> pageList(Params page, GzryOtherQueryDTO dto);

    GzryOtherResultDTO getById(Long id);

    Boolean create(GzryOtherCreateDTO dto);

    Boolean update(GzryOtherUpdateDTO dto);

    Boolean checkUniqueByIdentity(IdentityUniqueCheckDTO dto);

    Boolean checkUniqueByMobile(MobileUniqueCheckDTO dto);

}